package net.zschech.gwt.chat.client.api;

import net.zschech.gwt.chat.client.domain.Gamer;

/**
 * Game Play Interface
 * @author ray huang
 *
 */
public interface IGamePlay {
  /**
   * In this method several action should be down
   * 1. user make the move
   * 2. log user move
   * 3. check for special event ,eg, surround kill
   */
   public void move(Gamer user,int coordinateX,int coordinateY );
   /**
    * eat in weiqi
    */
   public void surroundKill();
   /**
    * judge if it is now being surrounded based on coordinates
    * @return
    */
   public boolean surrounded();
}
